package com.zhieasy.config;

import com.github.xiaoymin.knife4j.spring.annotations.EnableKnife4j;
import com.zhieasy.common.config.BaseSwaggerConfig;
import com.zhieasy.common.domain.SwaggerProperties;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

/**
 * @author 风亦未止
 * @date 2021/11/1 18:58
 */
//@Configuration
//@EnableSwagger2WebMvc
//@EnableKnife4j
public class SwaggerConfig extends BaseSwaggerConfig {
    @Override
    public SwaggerProperties swaggerProperties() {
        return SwaggerProperties.builder()
                .groupName("1.0版本")
                .contactUrl("https://www.52zzk.cn")
                .apiBasePackage("com.zhieasy.controller")
                .title("致易青年工作室官网接口系统")
                .description("致易青年工作室官网相关接口文档")
                .contactName("风亦未止")
                .version("1.0")
                .enableSecurity(false)
                .build();
    }
}
